#include "listetypeprestation.h"

ListeTypePrestation::ListeTypePrestation()
{
}
QStringList ListeTypePrestation::toStringList()
{
    QStringList result;
    TypePrestation t;
    foreach(t, *this)
    {
        result << t.toString();
    }
    return result;
}
void ListeTypePrestation::setListeTypePrestation(QSqlQuery query)
{
    while(query.next())
    {
        TypePrestation t(query, 0);
        this->append(t);
    }
}
